package com.net.xpay.common.dao.collect;

import com.net.xpay.common.domain.collect.CollectionSafePayChannel;
import com.net.common.dao.Page;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataCommon;
import com.net.xpay.core.model.CollectionSafePayChannelSearchModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataCommon
@Repository
public interface CollectionSafePayChannelMapper extends PagedMapper<Long, CollectionSafePayChannel> {

    List<CollectionSafePayChannel> search(@Param("searchModel") CollectionSafePayChannelSearchModel searchModel, @Param("page") Page page);

    long searchCount(@Param("searchModel") CollectionSafePayChannelSearchModel searchModel);

    List<CollectionSafePayChannel> list(@Param("searchModel") CollectionSafePayChannelSearchModel searchModel);
}
